package com.ffcs.ffxtc.modules.base.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ffcs.ffxtc.modules.base.domin.entity.DrawdbData;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 张正兴
 * @since 2024-04-30
 */
@Mapper
public interface DrawdbDataMapper extends BaseMapper<DrawdbData> {

    /**
     * 分页查询图表数据
     *
     * @param page
     * @param drawdbUserId
     * @return
     */
    IPage<List<DrawdbData>> findAllDrawdbDataPage(IPage<?> page, @Param("drawdbUserId") Long drawdbUserId);

}
